package com.inhg.inhg_android;

import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;

/**
 * Created by ZengYan on 2017/7/22.
 * Email : 810989881@qq.com
 *
 * @decs :
 */

public interface Api {

    @FormUrlEncoded
    @POST("/api/app/log/login")
    Observable<BaseModel> login(@Field("memberNum") String memberNum, @Field("password") String password);



    @GET("api/app/apply/see")
    Observable<ResponseBody> see();

    @GET("api/v1/fonts")
    Observable<Font> getFonts();
}
